function RTE(){}
RTE.prototype = new Entity();


RTE.prototype.timestamp;
RTE.prototype.updateInterval;


RTE.prototype.init = function()
{
  this.timestamp = new Date().getTime();
  this.updateInterval = window.setInterval("RTE.update();", 1);
}

RTE.prototype.loadPreset = function()
{
  this.addEntity("RenderManager", "RenderManager");
  this.addEntity("GameManager", "GameManager");
  this.addEntity("InputManager", "InputManager");
  this.RenderManager.loadPreset();
  this.GameManager.loadPreset();
  this.InputManager.loadPreset();
}


RTE.prototype.update = function()
{
  this.timestamp = new Date().getTime();
}